import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueRouter from 'vue-router';
import routers from "./router/router";
import './assets/icon/iconfont.css'

import VueVideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'
import 'vue-video-player/src/custom-theme.css'
Vue.use(VueVideoPlayer);

Vue.config.productionTip = false
Vue.use(ElementUI);

const router=new VueRouter({
  mode:'history',
  routes:routers
})

const bus = new Vue();//新创建一个实例，用以传值
Vue.prototype.bus = bus//挂载在vue的原型上

new Vue({
  el: '#app',
  render: h => h(App),
  router,
});
